package com.pan.admin.module.visualizer.entity.vo;

import lombok.Data;

import java.math.BigDecimal;

@Data
public class LoanChannelVisualizerVO {

    private Long id;
    /** 名称 */
    private String name;
    /**
     * 结算价格
     */
    private BigDecimal price;
    /**
     * 结算方式(0UV, 1注册)
     */
    private String priceType;
    /** uv */
    private Integer uv = 0;
    /** pv */
    private Integer pv = 0;
    /** 注册 */
    private Integer register = 0;
    /** 表单 */
    private Integer form = 0;
    /** 老用户 */
    private Integer oldUser = 0;
    /** 贷超 */
    private Integer loanMarket = 0;
    /** 表单收益 */
    private BigDecimal formRevenue = BigDecimal.ZERO;
    /** 贷超收益 */
    private BigDecimal loanMarketRevenue = BigDecimal.ZERO;
    /** 总收益。总收益 = 表单收益 + 贷超收益 */
    private BigDecimal totalRevenue = BigDecimal.ZERO;
    /** 总成本 */
    private BigDecimal totalCost = BigDecimal.ZERO;
    /** 总利润。总利润 = 总收益 - 总成本 */
    private BigDecimal totalProfit = BigDecimal.ZERO;

    /** 截止时间 */
    private String dateTime;
}
